Hi Bengt and Tom,
Just tossing out an idea:
Maybe some user C flags/vars to setup to indicate status:
'SpeedChangeRequested'= TRUE // gather current speed measured from the
spindle encoder
'SpindleSpeedGood=FALSE' // until speed is within a specified window of
tolerance, then =TRUE, and then clear 'SpeedChangeRequested'= FALSE
--TimeOut // test duration of 'SpeedChangeRequested'= TRUE to
'SpindleSpeedGood==TRUE for excessive ramp time.
if speed then falls out of a specified "window" threshold the flag is
set to 'SpindleSpeedGood=FALSE'
with 'SpeedChangeRequested'= FALSE and error condition could be handled.
So if 'SpeedChangeRequested'= FALSE && 'SpindleSpeedGood=FALSE'
Then the motion should be stopped etc
-Lee
On 9/17/2012 1:15 AM, Bengt Sjoelund wrote:
> Hi Tom,
> I have need for such function that all motion on X/Y axis to be stopped if spindle rotation stops when running gcode. How can this be done?
>
> I have a lot of saw milling ahead and as this is a very time consuming operation I want to be close to the edge of cutting and sometimes it can happend that the cutter binds and stops the spindle rotation. This is the reason of me wanting to have a watchdog.
>
> If this can be done, will this affect tapping operations?
>
> Cheers
> Bengt
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>